package com.eascs.spider.yuqing.common.proj;

import java.io.Serializable;
import java.util.Map;
/**
 * 普通任务实体
 * @author hzp
 *
 */
public class Task implements Serializable{

	private static final long serialVersionUID = 2135728137053668144L;

	private String url;//任务待处理的链接
	
	private HttpMethod method;//请求方法
	
	private Map<String, String> header;//请求头
	
	private Map<String, String> param;//请求参数

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public HttpMethod getMethod() {
		return method;
	}

	public void setMethod(HttpMethod method) {
		this.method = method;
	}

	public Map<String, String> getHeader() {
		return header;
	}

	public void setHeader(Map<String, String> header) {
		this.header = header;
	}

	public Map<String, String> getParam() {
		return param;
	}

	public void setParam(Map<String, String> param) {
		this.param = param;
	}
	
}
